<html>
    <head>
        <base href="<?php echo base_url() ?>"/>
        <title>Administrator Domba Garut Online</title>
        <script type="text/javascript" src="js/nicEdit.js"></script>
        <script type="text/javascript">
            bkLib.onDomLoaded(function() { nicEditors.allTextAreas() });
        </script>
        <link rel="stylesheet" type="text/css" href="css/style_admin.css" />
        <style type="text/css">

        td, table { font-size: 13px }
        input { border-width: 1px; border-style: solid; border-color: #969BA5; font-size: 13px }

        </style>

    </head>
<body>
    <div id="headerawal">
        <div id="menu">
            <ul>
                <?php if($this->session->userdata('id_admin')) $this->load->view('admin/menu') ?>
            </ul>
            <p>&nbsp;</p>
        </div>

        <div id="content">

			<h2>Login Administrator</h2>

			<?php echo form_open('admin/login'); ?>

			<table>
				<span style="color: red"><?php if(isset($error)) echo $error; ?></span>
				<tr>
					<td rowspan="3"><img src="images/j_login_lock.jpg" width="105" height="95" hspace="5" align="left" alt=""/></td>
					<td width="100">Username</td>
					<td><input class="btn" type="text" name="admin_username" size="30" /></td>
				</tr>
				<tr>
					<td>Password</td>
					<td><input class="btn" type="password" name="admin_password" size="30" /></td>
				</tr>
				<tr>
					<td colspan="2" align="right"><input type="submit" name="submit" value="   Login   " /></td>
				</tr>

			</table>

			<?php echo form_close(); ?>

        </div>

        <div id="footer">
		Copyright &copy; 2010 White Rose. All rights reserved.
        </div>
    </div>
</body>
</html>
